home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 144_01 / index.hlp < prev    next >
Encoding:
Text File  |  1985-08-19  |  2.0 KB  |  49 lines

  1. **********************************************************************
  2. *                              INDEX                                 *
  3. **********************************************************************
  4. *                  COPYRIGHT 1983 EUGENE H. MALLORY                  *
  5. **********************************************************************
  6. PROGRAM:
  7.      INDEX  - Format an index or cross reference.
  8. USAGE:
  9.      INDEX  [<fid] [-Cn] [-H] [>fid]
  10. FUNCTION:
  11.     This takes a sorted output from words and generates a formatted
  12.     index or cross reference, depending on the use of words.
  13.     Use other than the examples below may not be useful.  INDEX
  14.     expects the number to be col 1 to 7, the word to be in col 9
  15.     onward.
  16.     
  17.     The -Cn option specifies the column width for the resultant index.
  18.     The default is 60.
  19.     
  20.     The -H options displays the available options.
  21.     
  22. EXAMPLE:
  23.     For a page index with a page length of 66.
  24.     WORDS <$1 -N -L66 |SORT -C9 -U |INDEX -C29 ...
  25.                 ... |2UP -M10 -L60 -C29 -S2 |PAGE >LST:
  26.     
  27.     For a cross reference with line references.
  28.     WORDS <$1 -N |SORT -C9 -U |INDEX -C29 ...
  29.                 ...|2UP -M10 -L60 -C29 -S2 |PAGE >LST:
  30.  
  31. COMMENTS:
  32.     
  33.  
  34.         Command Line                       
  35.  
  36. ___________________________________  
  37.                                   |  
  38.                                   |  -Cn OPTION
  39.                                   |  
  40.                                   |  
  41.                                   |                  
  42.                     ______________V______________    
  43.  Standard Input     |                           |   Standard Output
  44.    RAW INDEX        |                           |    FORMATTED INDEX
  45. ------------------->|           INDEX           |----------------------->
  46.                     |                           |
  47.                     |                           |
  48.                     |___________________________|
  49.